package com.dq.service.messsge;

import com.dq.exception.customException.AdminException;
import com.dq.domain.message.oneself.Message;
import com.dq.domain.message.oneself.NoticeMessage;

import java.util.List;

/**
 * @author cf
 *
 * 岗位逻辑
 *
 */
public interface NoticeMessageService {
    /**
     * 添加， 批量
     * @param noticeMessage
     * @return
     * @throws AdminException
     */
    public void saveList(NoticeMessage noticeMessage, List<Long> caseUserIds, Message.MessageType messageType)  throws AdminException;
    /**
     * 添加
     * @param noticeMessage
     * @return
     * @throws AdminException
     */
    public NoticeMessage save(NoticeMessage noticeMessage, Message.MessageType messageType)  throws AdminException;

    /**
     *修改
     * @param noticeMessage
     * @return
     * @throws AdminException
     */
    public NoticeMessage update(NoticeMessage noticeMessage) throws AdminException;

}
